using System;
using System.Data;
using System.Text;

namespace Webgame.Entity
{
    public class PlayerScore
    {

        #region property
        int _ID = 0;

        public int ID
        {
            get
            {
                return _ID;
            }
            set
            {
                _ID = value;
            }
        }
        int _PlayerID = 0;

        public int PlayerID
        {
            get
            {
                return _PlayerID;
            }
            set
            {
                _PlayerID = value;
            }
        }
        int _MapID = 0;

        public int MapID
        {
            get
            {
                return _MapID;
            }
            set
            {
                _MapID = value;
            }
        }
        int _Nutrient = 0;

        public int Nutrient
        {
            get
            {
                return _Nutrient;
            }
            set
            {
                _Nutrient = value;
            }
        }
        int _Eat = 0;

        public int Eat
        {
            get
            {
                return _Eat;
            }
            set
            {
                _Eat = value;
            }
        }
        int _Virus = 0;

        public int Virus
        {
            get
            {
                return _Virus;
            }
            set
            {
                _Virus = value;
            }
        }
        #endregion
        public override string ToString()
        {
            StringBuilder builder = new StringBuilder();
            builder.AppendFormat("ID={0}", ID);
            builder.AppendLine();
            builder.AppendFormat("PlayerID={0}", PlayerID);
            builder.AppendLine();
            builder.AppendFormat("MapID={0}", MapID);
            builder.AppendLine();
            builder.AppendFormat("Nutrient={0}", Nutrient);
            builder.AppendLine();
            builder.AppendFormat("Eat={0}", Eat);
            builder.AppendLine();
            builder.AppendFormat("Virus={0}", Virus);
            builder.AppendLine();

            return builder.ToString();
        }
    }
}
